home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 05 - 1989 / 05.06 Jun 89 / Splitbar Test ƒ / SplitbarTest.R < prev    next >
Encoding:
Text File  |  1989-03-28  |  4.2 KB  |  137 lines  |  [TEXT/EDIT]

  1. *********************************************************
  2. * RMaker resource file sources.
  3. * File: SplitbarTest.R
  4. *********************************************************
  5.  
  6. SplitbarTest.RSRC
  7. ????????
  8.  
  9. INCLUDE XP™ 40:LSP 2.0:splitbar ƒ:Splitbar Icon
  10.  
  11. INCLUDE XP™ 40:LSP 2.0:splitbar ƒ:Splitbar.CDEF 17
  12.  
  13. Type KCSB = STR 
  14. ,0
  15. © 1989 by Kirk Chase and MacTutor\0Dversion 1.0 March 1989
  16.  
  17. Type SIZE = GNRL
  18. , -1
  19. .H
  20. 4800
  21. .L
  22. 128000
  23. .L
  24. 80000
  25. .I
  26.  
  27. Type BNDL
  28. ,128
  29. KCSB 0
  30. ICN#
  31. 0 128
  32. FREF
  33. 0 128
  34.  
  35. Type FREF
  36. , 128
  37. APPL 0
  38.  
  39. Type DLOG
  40. *
  41.  
  42.      ,1                                 ;;Resource ID
  43. About                                   ;;Dialog title
  44. 50  120  189  380                       ;;Top Left Bottom Right
  45. Visible NoGoAway                        ;;Visible GoAway 
  46. 1                                       ;;ProcID, dialog def ID
  47. 1                                       ;;Refcon, reference value
  48. 1                                       ;;ID of item list
  49.  
  50. * This is the DIALOG or ALERT item list.
  51. *
  52. Type DITL
  53. *
  54.  
  55.      ,1                                 ;;Resource ID
  56. 3                                       ;;Number of controls in list
  57.  
  58. Button  Enabled                         ;;Push button
  59. 86  83  112  163                        ;;Top Left Bottom Right
  60. OK                                      ;;message
  61.  
  62. StaticText                              ;;Static text
  63. 51  24  68  241                         ;;Top Left Bottom Right
  64. © 1989 Kirk Chase and MacTutor          ;;message
  65.  
  66. StaticText                              ;;Static text
  67. 26  37  43  218                         ;;Top Left Bottom Right
  68. Splitbar Test by Kirk Chase             ;;message
  69.  
  70.  
  71.  
  72. Type WIND
  73. *
  74.  
  75.      ,2                                 ;;Resource ID
  76. Test Window                             ;;Window title
  77. 41  3  338  508                         ;;Top Left Bottom Right
  78. InVisible  GoAway                         ;;Visible GoAway 
  79. 0                                       ;;ProcID, Window def ID
  80. 2                                       ;;Refcon, reference value
  81.  
  82. Type CNTL
  83. *
  84.  
  85.    ,10                                  ;;Resource ID
  86. SplitBar                                ;;Title for a Scrollbar
  87. 0  490  282  506                        ;;Top Left Bottom Right
  88. Visible                                 ;;Initially visible 
  89. 274                                      ;;ProcID (Control definition ID)
  90. 10                                      ;;RefCon (reference value)
  91. 0  276  0                               ;;Min Max Value
  92.  
  93.    ,9                                   ;;Resource ID
  94. Scrollbar2                              ;;Title for a Scrollbar
  95. 0  490  0   506                         ;;Top Left Bottom Right
  96. Visible                                 ;;Initially visible 
  97. 16                                      ;;ProcID (Control definition ID)
  98. 9                                       ;;RefCon (reference value)
  99. 1  100  1                               ;;Min Max Value
  100.  
  101.    ,8                                   ;;Resource ID
  102. Scrollbar1                              ;;Title for a Scrollbar
  103. 6  490  282  506                        ;;Top Left Bottom Right
  104. Visible                                 ;;Initially visible 
  105. 16                                      ;;ProcID (Control definition ID)
  106. 8                                       ;;RefCon (reference value)
  107. 1  100  1                               ;;Min Max Value
  108.  
  109.  
  110.  
  111.  
  112. Type MENU
  113. *
  114.  
  115.  
  116.      ,1                               ;;Resource ID
  117. \14                                     ;;APPLE menu title
  118. About Splitbar...                       ;;item title
  119. (-                                      ;;
  120.  
  121.      ,2                               ;;Resource ID
  122. File                                    ;;menu title
  123. (New                                    ;;item title
  124. (-                                      ;;
  125. Close                                   ;;item title
  126. (-                                      ;;
  127. Quit/Q                                  ;;item title
  128.  
  129.      ,3                               ;;Resource ID
  130. Edit                                    ;;menu title
  131. (Undo/Z                                 ;;item title
  132. (-                                      ;;
  133. Cut/X                                   ;;item title
  134. Copy/C                                  ;;item title
  135. Paste/V                                 ;;item title
  136.  
  137.